package com.situ.edu.dao;

import com.situ.edu.pojo.entity.Elective;
import com.situ.edu.pojo.entity.Student;
import com.situ.edu.pojo.query.CourseQuery;
import com.situ.edu.pojo.query.StudentQuery;
import com.situ.edu.pojo.vo.CourseVO;

import java.util.List;

public interface IStudentCouDao {
    List<CourseVO> selectByPage(CourseQuery courseQuery);

    int selectTotalCount(CourseQuery courseQuery);

    void add(Elective elective);


    List<Student> selectAll();

    void update(Elective elective);

    void updateStu(Student student);

    Student selectById(int id);

    void addElective(int id, int courseId);
}